/*
 * SPDX-FileCopyrightText: 2010-2022 Espressif Systems (Shanghai) CO LTD
 *
 * SPDX-License-Identifier: CC0-1.0
 */

#include <stdio.h>
#include <inttypes.h>
#include "sdkconfig.h"
#include "freertos/FreeRTOS.h"

#include "motor_ctl.h"
#include "stepmotor_dir.h"
#include "battery.h"

#define MAIN_VER 0
#define SUB_VER 1

void app_main(void)
{
    printf("pet monitor. Version:%d.%d\n", MAIN_VER, SUB_VER);

    motor_init();
    stepmotor_init();
    battery_init();

    printf("Minimum free heap size: %"PRIu32" bytes\n", esp_get_minimum_free_heap_size());
}
